Skip to content

Comments

fix: Claude Code 环境下跳过 FREE 套餐#12

Merged
zcg merged 1 commit intobyebye-code:mainfrom
johnnyee:fix/skip-free-subscription
Dec 10, 2025
Merged

fix: Claude Code 环境下跳过 FREE 套餐#12
zcg merged 1 commit intobyebye-code:mainfrom
johnnyee:fix/skip-free-subscription

Conversation

@johnnyee
Copy link
Contributor

问题

FREE 套餐不支持 Claude Code(只支持 Codex),但状态栏可能错误地显示 FREE 套餐的用量。

修复

在选择显示哪个套餐时,跳过 FREE 套餐,显示 PLUS/PAYGO 等支持 CC 的套餐用量。

改动

.filter(|s| s.subscription_name.to_uppercase() != "FREE") // 跳过 FREE

🤖 Generated with Claude Code

@johnnyee johnnyee force-pushed the fix/skip-free-subscription branch from e1d7679 to b22a9a9 Compare December 10, 2025 05:48
FREE 套餐不支持 Claude Code,只支持 Codex。
在 CC 环境下跳过 FREE,显示 PLUS/PAYGO 套餐的用量。

同时修复代码格式(cargo fmt)。

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@johnnyee johnnyee force-pushed the fix/skip-free-subscription branch from b22a9a9 to 539a29c Compare December 10, 2025 05:48
@zcg zcg merged commit b6b7e9e into byebye-code:main Dec 10, 2025
4 checks passed
johnnyee added a commit to johnnyee/byebyecode that referenced this pull request Dec 10, 2025
@johnnyee johnnyee deleted the fix/skip-free-subscription branch December 10, 2025 06:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants